using System;
using System.Reflection;

namespace Common.Core.Objects
{
	public class CurrentTimeDefaultPropertyValue : DefaultPropertyValueAttributeBase
	{
		public CurrentTimeDefaultPropertyValue( string propertyName ) : base( propertyName )
		{}

		protected internal override object GetValue( PropertyInfo property )
		{
			return DateTime.Now;
		}
	}
}